import request from '@/utils/request'

// 查询支付宝测试列表
export function listZhifubao(query) {
  return request({
    url: '/zfb/zhifubao/list',
    method: 'get',
    params: query
  })
}

// 查询支付宝测试详细
export function getZhifubao(zfbId) {
  return request({
    url: '/zfb/zhifubao/' + zfbId,
    method: 'get'
  })
}

// 新增支付宝测试
export function addZhifubao(data) {
  return request({
    url: '/zfb/zhifubao',
    method: 'post',
    data: data
  })
}

// 修改支付宝测试
export function updateZhifubao(data) {
  return request({
    url: '/zfb/zhifubao',
    method: 'put',
    data: data
  })
}

// 删除支付宝测试
export function delZhifubao(zfbId) {
  return request({
    url: '/zfb/zhifubao/' + zfbId,
    method: 'delete'
  })
}
